@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #333;
}
html {
  user-select: none;
}

body {
  margin: 0;
  font-family: "Pretendard", "Inter", sans-serif;
  background: #f8f8f8;
  color: #333;
  min-width: 390px;
  max-width: 390px;
}
.app-header {
  position: fixed;
  width: 390px;
  height: 82px;
  background: #fff6ed;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.1);
}
.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  /* align-items:center; */
  width: 90%;
  margin: 0 auto;
  padding-top: 50px;
  /* height: 30px; */
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 23px;
  height: 23px;
  background: linear-gradient(135deg, #ffa155 0%, #ff5e00 100%);
  border-radius: 4px;
  text-align: center;
}
.logo-icon span {
  color: #fff;
  font-size: 18px;
  line-height: 23.4px;
}
.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #5a5a5a;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.weather {
  display: flex;
  align-items: center;
  gap: 4px;
}
.weather-icon {
  width: 14px;
  height: 14px;
}
.weather-icon span {
  font-size: 14px;
}
.weather-text {
  font-size: 13px;
  color: #666;
}
.notification-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: #ff801a;
}
main {
  padding: 0 20px 0 20px;
}
.page-title {
  font-size: 22px;
  font-weight: 800;
  color: #ff801a;
  margin: 100px 0 24px 0;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.cant-eat-section {
  margin-bottom: 24px;
}
.cant-eat-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 18px;
  background: #f2f2f2;
  color: #808080;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.tag-red {
  background: #ffcccc;
  color: #cc1a1a;
}
.category-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 8px;
}
.category-btn {
  display: inline-block;
  width: 80px;
  /* margin-bottom: 10px; */
  height: 35px;
  text-align: center;
  line-height: 35px;
  border-radius: 10px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #eee;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.category-btn.active {
  background: #ff6b36;
  color: #fff;
}
.roulette-section {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  position: relative;
}
.roulette-arrow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}
.roulette-arrow span {
  color: #ff6b36;
  font-size: 30px;
  transform: rotate(180deg);
}
.roulette-placeholder {
  width: 224px;
  height: 224px;
  background: #fff;
  border: 2px solid #ff801a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff801a;
  font-size: 20px;
  font-weight: 700;
  overflow: hidden;
}
.result-section {
  margin-bottom: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.result-card {
  background: #fff;
  border: 1px solid #ff801a;
  border-radius: 18px;
  padding: 16px 24px;
  height: 120px;
  margin-bottom: 12px;
  text-align: center;
  width: 100%;
}
.result-roulette {
  margin-bottom: 5px;
  color: #ff801a;
  font-weight: 700;
}
.result-menu {
  font-size: 18px;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
}
.result-detail {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}
.result-actions {
  display: flex;
  gap: 12px;
}
.action-btn {
  padding: 8px 24px;
  border-radius: 10px;
  background: #ff801a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 390px;
  height: 80px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #eee;
  box-shadow: 0px -2px 5px 0 rgba(0, 0, 0, 0.1);
}
.tab-bar-item {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tab-bar-item.active {
  color: #ff6b36;
}
.tag {
  cursor: pointer;
}
.add-etc-tag {
  background: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  border: 0;
}
.add-etc-tag .material-icons-outlined {
  font-size: 20px;
  color: #ff801a;
}
/* 룰렛 영역 스타일 */
.roulette-area {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 32px auto 0 auto;
}
#roulette-canvas {
  border-radius: 50%;
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
#spin-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 12px 28px;
  background: orange;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.category-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.category-btn {
  white-space: nowrap;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #fff;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.category-btn.selected {
  background: orange;
  color: #fff;
  border-color: orange;
}
