/* SunoAuto 통합 상단바 */
.tb-header{
  height:78px;position:sticky;top:0;z-index:999;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(217,224,255,.55);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  font-family:'DM Sans','Noto Sans KR',-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;
}
.tb-header .tb-inner{
  height:100%;display:flex;align-items:center;justify-content:space-between;
  gap:23px;width:min(1160px,calc(100% - 48px));margin:0 auto;
}

/* 브랜드 */
.tb-header .tb-brand{
  display:inline-flex;gap:11px;align-items:center;flex:none;
  color:#171b38;text-decoration:none;
}
.tb-header .tb-brand-mark{
  width:45px;height:42px;display:flex;align-items:center;justify-content:center;
  gap:3px;transform:rotate(-8deg);
}
.tb-header .tb-brand-mark i{
  width:5px;border-radius:10px;
  background:linear-gradient(165deg,#d23edf 4%,#7540f2 55%,#329ffd);
  display:block;height:15px;
}
.tb-header .tb-brand-mark i:nth-child(2){height:25px}
.tb-header .tb-brand-mark i:nth-child(3){height:39px}
.tb-header .tb-brand-mark i:nth-child(4){height:30px}
.tb-header .tb-brand-mark i:nth-child(5){height:17px}
.tb-header .tb-brand-word{
  font-weight:900;letter-spacing:-.07em;line-height:1.04;font-size:22px;color:#171b38;
}
.tb-header .tb-brand-word small{
  display:block;font-size:10px;color:#5e6688;
  letter-spacing:.01em;font-weight:700;margin-top:5px;
}

/* 네비 */
.tb-header .tb-nav{
  display:flex;align-items:center;gap:16px;
  font-size:12.5px;font-weight:700;color:#343d60;
  flex:1;justify-content:center;
  flex-wrap:nowrap;
}
.tb-header .tb-nav a{
  color:inherit;text-decoration:none;transition:color .2s;
  white-space:nowrap;
}
.tb-header .tb-nav a:hover{color:#8150eb}
.tb-header .tb-nav a.active{
  color:#7542eb;font-weight:800;position:relative;
}
.tb-header .tb-nav a.active::after{
  content:'';position:absolute;left:0;right:0;bottom:-28px;
  height:2px;background:linear-gradient(90deg,#7542eb,#d832d2);border-radius:2px;
}

/* 오른쪽 액션 버튼 */
.tb-header .tb-actions{
  display:flex;align-items:center;gap:9px;flex:none;
}
.tb-header .tb-btn{
  display:inline-flex;align-items:center;justify-content:center;
  border:0;min-height:38px;border-radius:999px;
  padding:9px 20px;font-size:13px;font-weight:800;
  white-space:nowrap;cursor:pointer;transition:transform .2s,box-shadow .2s;
  text-decoration:none;
}
.tb-header .tb-btn:hover{transform:translateY(-2px)}
.tb-header .tb-btn-quiet{
  background:#fff;border:1px solid #d5dcff;color:#4b5988;
}
.tb-header .tb-btn-gradient{
  background:linear-gradient(105deg,#6358f3 0%,#a43df2 56%,#e02ed1 100%);
  color:#fff;box-shadow:0 9px 22px rgba(144,68,222,.21);
}

/* 반응형 */
@media (max-width:1080px){
  .tb-header .tb-nav{gap:13px;font-size:12px}
  .tb-header .tb-inner{width:min(100% - 40px,1160px)}
}
@media (max-width:900px){
  .tb-header .tb-nav{gap:8px;font-size:11px}
  .tb-header .tb-nav a{padding:6px 4px}
}
@media (max-width:760px){
  .tb-header{height:auto;padding:10px 0}
  .tb-header .tb-inner{flex-wrap:wrap;gap:10px}
  .tb-header .tb-nav{
    order:3;width:100%;flex-wrap:wrap;justify-content:flex-start;
    gap:6px;font-size:11px;overflow-x:auto;padding-bottom:6px;
  }
  .tb-header .tb-nav a.active::after{display:none}
}
@media (max-width:560px){
  .tb-header .tb-inner{width:calc(100% - 30px)}
  .tb-header .tb-brand-word{font-size:19px}
  .tb-header .tb-brand-mark{width:36px;transform:scale(.9) rotate(-8deg)}
  .tb-header .tb-btn{padding:7px 12px;font-size:12px;min-height:32px}
}
