/* 폴더 */
.folder-wrap{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.folder{
    display: flex;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    align-self: stretch;
    border-radius: 0.625rem;
    border: 1px solid #F3F3F3;
    background: #FFF;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
}
.folder p{
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 150%;
}
.folder span{
    font-size: 0.8125rem;
    color: #999;
}
.pb0{
    padding-bottom: 0 !important;
}
.pb20{
    padding-bottom: 20px !important;
}


/* 힙플 기록 */
/* 본문 기본 스타일 */
.hipple-record {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.record-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.record-group__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.record-group .label {
    font-size: 1rem;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: -0.05rem;
    margin: 0;
}

.record-group__hint {
    flex-shrink: 0;
    color: #999;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 120%;
}

.record-list {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.record-list::-webkit-scrollbar {
    display: none;
}

.record-btn {
    position: relative;
    flex: 0 0 9.5rem;
    min-width: 9.5rem;
    padding: 0;
    border-radius: 1rem;
    border: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    scroll-snap-align: start;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.record-btn:active {
    transform: scale(0.98);
}

.record-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f3f3;
}

.record-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.record-body {
    display: flex;
    min-height: 4.75rem;
    padding: 0.875rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
}

.record-name {
    width: 100%;
    color: #111;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: -0.03rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.record-menu {
    width: 100%;
    color: #666;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.03rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.record-check {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 1.75rem;
    padding: 0 0.625rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.75);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.record-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.record-btn.active .record-thumb img {
    filter: saturate(0.7) brightness(0.78);
    transform: scale(1.03);
}

.record-btn.active .record-name {
    color: #fff;
}

.record-btn.active .record-menu {
    color: rgba(255, 255, 255, 0.82);
}

.record-btn.active .record-check {
    opacity: 1;
    transform: translateY(0);
}
  
  /* 옵션 버튼 */
  .record-options {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    position: absolute;
    bottom: 120px;
    left: 20px;
    right: 20px;
  }
  
  .none-btn,
  .empty-btn {
    flex: 1;
    padding: 1rem;
    border-radius: 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    border: none;
  }
  
  .none-btn {
    background: #FFF;
    color: #999;
    border: 1px solid #e8e8e8;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 1.2rem */
    letter-spacing: -0.05rem;
  }
  
  .empty-btn {
    background: #EA0142;
    color: #fff;
  }


  /* 별점 */
  .hipple-rating{
    /* margin-top: 20px; */
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
.rating-card{
    display: flex;
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    align-self: stretch;
    border-radius: 0.625rem;
    border: 1px solid #E8E8E8;
    background: #FFF;
}
.rating-card .menu{
    color: #999;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 100%; /* 0.9375rem */
    letter-spacing: -0.0375rem;
}
.rating-card h3{
    color: #000;
text-align: center;
font-family: SUIT;
font-size: 1.25rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 1.5rem */
letter-spacing: -0.0625rem;
}

/* 기록 완료 */
.complete__illust{
  display: flex;
  width: 6.8125rem;
  height: 7.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.complete{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 120px;
  justify-content: center;
}
.complete__inner{
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.complete__title{
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 120%; /* 1.5rem */
  letter-spacing: -0.0625rem;
}
.complete__desc{
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%; /* 1.5rem */
  letter-spacing: -0.05rem;
}


/* 검색 */
/* layout */
.hipple-search{max-width:480px;margin:0 auto;padding: 0 20px 110px;}
.search-lead{
  color:#666;
  text-align:center;
  font-size:0.9375rem;
  line-height:150%;
  margin-bottom:1rem;
}

.search-stack{
  display:flex;
  flex-direction:column;
  gap:1rem;
}

.search-panel{
  display:flex;
  flex-direction:column;
  gap:0.875rem;
  padding:1rem;
  border:1px solid #ececec;
  border-radius:1rem;
  background:#fff;
  box-shadow:0 8px 24px rgba(17, 17, 17, 0.04);
}

.search-panel--primary{
  background:linear-gradient(180deg, #fff7f9 0%, #ffffff 100%);
  border-color:#ffd7e3;
}

.search-panel__eyebrow{
  color:#ea0142;
  font-size:0.75rem;
  font-weight:700;
  letter-spacing:-0.02rem;
}

.search-panel__title{
  color:#111;
  font-size:1rem;
  font-weight:700;
  line-height:130%;
}

.search-panel__desc{
  color:#666;
  font-size:0.8125rem;
  line-height:145%;
}

/* search box */
.searchbox{position:relative;}
.searchbox input{
  width:100%; height:48px; padding:0 52px 0 16px;
  border:2px solid #eee; border-radius:999px; outline:none;
  font-size:1rem; background:#fff;
}
.searchbox input:focus{
  border:2px solid #e83d62;
}
.searchbox input:active{
  border:2px solid #e83d62;
}
.searchbox__btn{
  position:absolute; top:50%; right:6px; transform:translateY(-50%);
  width:36px; height:36px; border-radius:50%; border:0; cursor:pointer;
  display:grid; place-items:center;
}

.searchbox + .searchbox{
  margin-top:0.75rem;
}

/* suggestion card */
.suggest {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #E8E8E8;
  background: #FFF;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.08);
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  position: relative;
  max-height: 40vh;
  overflow-y: auto;
}
.suggest ul{list-style:none;margin:0;padding:0;}
.suggest li{
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  cursor:pointer;
  width:100%;
}
.suggest li+li{}

.suggest li::before {
  content:"";
  display: flex;
  width:18px; height:18px;
  background:url('/img/search-01.png') no-repeat center/contain;
}

.sub-title{
  text-align: center;
  padding: 1rem;
  font-weight: 600;
}

.suggest li[aria-selected="true"]{background:#fff4f7;}
.suggest-title{
  color:#111;
  font-size:0.875rem;
  font-weight:700;
}

.suggest-empty{
  width:100%;
  padding:0.5rem 0 0;
  color:#999;
  font-size:0.875rem;
  text-align:center;
}

.manual-entry{
  display:flex;
  flex-direction:column;
  gap:0.75rem;
}

.manual-entry[hidden]{
  display:none;
}

.manual-entry__title{
  color:#111;
  font-size:0.95rem;
  font-weight:700;
  line-height:130%;
}

.manual-entry__desc{
  color:#666;
  font-size:0.8125rem;
  line-height:140%;
}

.manual-preview{
  display:flex;
  align-items:center;
  gap:0.5rem;
  padding:0.875rem 1rem;
  border-radius:0.875rem;
  background:#fff;
  border:1px dashed #f1a6bc;
  color:#111;
  font-size:0.9375rem;
  font-weight:700;
}

.manual-chip{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:3rem;
  height:1.75rem;
  padding:0 0.625rem;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:0.75rem;
  font-weight:700;
}

.search-field-label{
  color:#444;
  font-size:0.8125rem;
  font-weight:600;
  margin-bottom:0.375rem;
}

.search-helper{
  color:#999;
  font-size:0.75rem;
  line-height:140%;
}

.search-divider{
  display:flex;
  align-items:center;
  gap:0.75rem;
  color:#aaa;
  font-size:0.75rem;
  font-weight:600;
}

.search-divider::before,
.search-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:#eee;
}
/* CTA */
.cta{position:relative; margin-top:28px;}
.cta__btn{
  width:100%; height:52px; border:0; border-radius:12px; color:#fff;
  background:#e83d62; font-weight:700; font-size:1.05rem; cursor:pointer;
  transition:filter .15s,opacity .15s;
}
.cta__btn:disabled{opacity:.45; cursor:not-allowed;}



/* 퍼블리싱 추가 */
.visual_wrap{
  width: 100%;
}
.visual_wrap img{
  width: 100%;
}
