:root{
  --fuguro-primary:#f4b128;
  --fuguro-primary-2:#e7a516;
  --fuguro-dark:#231f20;
  --fuguro-bg:#ffffff;
  --fg-font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", "Noto Sans CJK TC", Arial, sans-serif;
  --fg-font-size:15px;
  --fg-line-height:1.65;
  --fg-letter-spacing:.01em;
  --fg-heading-line-height:1.28;
}

body{
  padding-bottom:72px;
  background:var(--fuguro-bg);
  color:var(--fuguro-dark);
  font-family:var(--fg-font-sans);
  font-size:var(--fg-font-size);
  line-height:var(--fg-line-height);
  letter-spacing:var(--fg-letter-spacing);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

@media (min-width:992px){
  :root{
    --fg-font-size:16px;
    --fg-line-height:1.7;
  }
}

h1,h2,h3,h4,h5,h6{
  line-height:var(--fg-heading-line-height);
  letter-spacing:.005em;
}

.btn-fuguro{
  --bs-btn-color:var(--fuguro-dark);
  --bs-btn-bg:var(--fuguro-primary);
  --bs-btn-border-color:var(--fuguro-primary);
  --bs-btn-hover-bg:var(--fuguro-primary-2);
  --bs-btn-hover-border-color:var(--fuguro-primary-2);
  --bs-btn-focus-shadow-rgb:244,177,40;
  --bs-btn-active-bg:var(--fuguro-primary-2);
  --bs-btn-active-border-color:var(--fuguro-primary-2);
}

.brand-mark{
  width:40px;
  height:40px;
  background:linear-gradient(135deg,var(--fuguro-primary),var(--fuguro-primary-2));
}

.brand-mark-sm{
  width:24px;
  height:24px;
  background:linear-gradient(135deg,var(--fuguro-primary),var(--fuguro-primary-2));
}

.hero-section{
  background:
    radial-gradient(1200px 420px at 10% 10%, rgba(244,177,40,.22) 0%, rgba(244,177,40,0) 55%),
    radial-gradient(1200px 420px at 90% 30%, rgba(35,31,32,.08) 0%, rgba(35,31,32,0) 55%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-thumb{
  width:68px;
  height:68px;
  background:
    radial-gradient(circle at 30% 30%, rgba(244,177,40,.30) 0%, rgba(244,177,40,0) 55%),
    linear-gradient(135deg, rgba(35,31,32,.10), rgba(244,177,40,.10));
}

.tag-chip{
  white-space:nowrap;
}

.hero-carousel .carousel-item{
  min-height:280px;
}

.hero-slide{
  min-height:280px;
  border-radius:1.25rem;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  overflow:hidden;
}

.hero-slide__inner{
  padding:1rem;
}

.hero-slide--img{
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:var(--fuguro-dark);
}

.hero-slide__overlay{
  min-height:280px;
  display:flex;
  align-items:flex-end;
  background:linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.92) 70%);
}

.hero-slide--a{
  background:
    radial-gradient(900px 340px at 10% 20%, rgba(244,177,40,.35) 0%, rgba(244,177,40,0) 60%),
    radial-gradient(900px 340px at 90% 40%, rgba(35,31,32,.10) 0%, rgba(35,31,32,0) 62%),
    linear-gradient(135deg, rgba(244,177,40,.10), rgba(255,255,255,1));
}

.hero-slide--b{
  background:
    radial-gradient(900px 340px at 10% 20%, rgba(35,31,32,.10) 0%, rgba(35,31,32,0) 60%),
    radial-gradient(900px 340px at 90% 40%, rgba(244,177,40,.25) 0%, rgba(244,177,40,0) 62%),
    linear-gradient(135deg, rgba(255,255,255,1), rgba(244,177,40,.08));
}

.hero-slide--c{
  background:
    radial-gradient(900px 340px at 10% 20%, rgba(244,177,40,.25) 0%, rgba(244,177,40,0) 60%),
    linear-gradient(135deg, rgba(255,255,255,1), rgba(35,31,32,.04));
}

.note-card{
  position:relative;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius:1rem;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(35,31,32,.06);
  transition:transform .12s ease, box-shadow .12s ease;
  cursor:pointer;
}

.note-card:active{
  transform:scale(.99);
}

.note-card--expired{
  opacity:.55;
  cursor:not-allowed;
}

.note-card__accent{
  height:8px;
  background:var(--note-accent, var(--fuguro-primary));
}

.note-card__body{
  padding:12px 12px 8px 12px;
}

.note-card__title{
  font-weight:800;
  line-height:1.32;
  letter-spacing:.005em;
  font-size:1.05rem;
}

.note-card__text{
  line-height:1.6;
  font-size:.92rem;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.note-card__text a{
  color:var(--fuguro-primary-2);
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:2px;
  font-weight:700;
}

.coupon-code-box a,
#modalTerms a{
  color:var(--fuguro-primary-2);
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:2px;
  font-weight:700;
}

.note-card__footer{
  padding:10px 12px;
}

.note-card__footer small{
  font-size:.82rem;
}

.badge.text-bg-warning-subtle,
.badge.text-bg-info-subtle,
.badge.text-bg-danger-subtle,
.badge.text-bg-success-subtle,
.badge.text-bg-primary-subtle,
.badge.text-bg-secondary-subtle{
  border:1px solid rgba(0,0,0,.06);
}

.coupon-code{
  letter-spacing:.06em;
}

.coupon-code-box{
  border-style:dashed !important;
}

.activity-snippet{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.calendar-weekdays{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  text-align:center;
  gap:6px;
}

.calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:6px;
}

.calendar-day{
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius:.9rem;
  padding:.55rem .55rem;
  min-height:56px;
  text-align:left;
  width:100%;
}

.calendar-day--other{
  opacity:.45;
}

.calendar-day--selected{
  border-color:rgba(244,177,40,.8);
  box-shadow:0 0 0 .2rem rgba(244,177,40,.18);
}

.calendar-day--today{
  border-color:rgba(35,31,32,.35);
}

.calendar-day__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.calendar-day__num{
  font-weight:700;
}

.calendar-day__count{
  font-weight:700;
}

.calendar-item{
  border:1px solid rgba(0,0,0,.06);
}

.calendar-item--expired{
  opacity:.55;
}

.calendar-board{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:1rem;
  overflow:hidden;
}

.cal-weekdays{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:0;
  text-align:center;
  font-size:.85rem;
  color:#6c757d;
  background:rgba(0,0,0,.02);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.cal-weekdays > div{
  padding:.5rem .25rem;
}

.cal-weeks{
  display:flex;
  flex-direction:column;
}

.cal-week{
  position:relative;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.cal-week:last-child{
  border-bottom:0;
}

.cal-week__days{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:0;
}

.cal-day{
  min-height:56px;
  padding:.35rem .35rem 0 .35rem;
  border-right:1px solid rgba(0,0,0,.04);
  background:#fff;
}

.cal-day:last-child{
  border-right:0;
}

.cal-day--other{
  background:rgba(0,0,0,.015);
  color:rgba(0,0,0,.45);
}

.cal-day--today .cal-day__num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  border-radius:999px;
  background:rgba(244,177,40,.22);
  font-weight:800;
}

.cal-day__num{
  font-weight:700;
  font-size:.95rem;
}

.cal-week__bars{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:4px;
  padding:4px 6px 8px 6px;
}

.cal-bar{
  display:flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(0,0,0,.06);
  border-left:6px solid var(--bar-color, var(--fuguro-primary));
  border-radius:.6rem;
  padding:0 8px;
  height:22px;
  background:var(--bar-bg, rgba(255, 214, 226, .75));
  color:var(--fuguro-dark);
  overflow:hidden;
  text-align:left;
}

.cal-bar__title{
  font-size:.85rem;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cal-bar__mark{
  font-size:.75rem;
  font-weight:800;
  color:var(--fuguro-dark);
  background:rgba(255,255,255,.75);
  border:1px solid rgba(0,0,0,.06);
  border-radius:.45rem;
  padding:0 6px;
  height:18px;
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
}

.cal-bar--expired{
  opacity:.55;
}

.cal-bar:disabled{
  cursor:not-allowed;
}

.cal-long{
  position:relative;
  border:1px solid rgba(0,0,0,.06);
}

.cal-long::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:var(--bar-color, var(--fuguro-primary));
  border-top-left-radius:.5rem;
  border-bottom-left-radius:.5rem;
}

.cal-long--expired{
  opacity:.55;
}

.bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  display:flex;
  background:#fff;
  border-top:1px solid rgba(0,0,0,.08);
  z-index:1030;
}

.bottom-nav__item{
  flex:1;
  padding:10px 8px;
  text-decoration:none;
  color:#6c757d;
  font-size:.9rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.bottom-nav__dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(244,177,40,.5);
}

.bottom-nav__item:focus,
.bottom-nav__item:hover{
  color:var(--fuguro-dark);
}

.bottom-nav__item:focus .bottom-nav__dot,
.bottom-nav__item:hover .bottom-nav__dot{
  background:rgba(244,177,40,.9);
}
